
---@class CustomPatrolGoal:GoalBase
CustomPatrolGoal = class(GoalBase)

function CustomPatrolGoal:GetLabel()
    return ECustomGoalLabel.Patrol;
end

function CustomPatrolGoal:GetPriority()
    return 5;
end

function CustomPatrolGoal:InitActiveCondition()
    local state = State.new()
    state:Set(ECustomStateKey.Can_move,true);
    state:Set(ECustomStateKey.CanPatrol,true);
    state:Set(ECustomStateKey.Find_target,false);
    return state;
end

function CustomPatrolGoal:InitEffects()
    local state = State.new()
    state:Set(ECustomStateKey.CanPatrol,false);
    return state;
end

